Skip to content

Implement calculatePublicKey() in classes that extend PKCS8Key#430

Closed
KostasTsiounis wants to merge 1 commit intoIBM:java17from
KostasTsiounis:implement_calculatePublicKey_j17
Closed

Implement calculatePublicKey() in classes that extend PKCS8Key#430
KostasTsiounis wants to merge 1 commit intoIBM:java17from
KostasTsiounis:implement_calculatePublicKey_j17

Conversation

@KostasTsiounis
Copy link
Member

PKCS8Key implements the InternalPrivateKey interface that contains the calculatePublicKey() method. If not implemented, an UnsupportedOperationException is thrown. This functionality is implemented to support this operation instead of getting an exception.

Back-ported from: #372

Signed-off-by: Kostas Tsiounis kostas.tsiounis@ibm.com

PKCS8Key implements the InternalPrivateKey interface
that contains the calculatePublicKey() method. If not
implemented, an UnsupportedOperationException is thrown.
This functionality is implemented to support this operation
instead of getting an exception.

Signed-off-by: Kostas Tsiounis <kostas.tsiounis@ibm.com>
@KostasTsiounis
Copy link
Member Author

The InternalPrivateKey interface is not available in Java17, so implementing this method doesn't make sense in this version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant